//
//  CNavBar.h
//  GoldOperationClient
//
//  Created by yaxue wang on 16/8/1.
//  Copyright © 2016年 展鸿科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CNavBar : UIView
@property (nonatomic, strong) NSString *backTitle;
@property (nonatomic, strong) UIImage *backImage;
@property (nonatomic, strong) UIColor *backColor;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) UIView *rightView;
@property (nonatomic, strong) UIView *leftView;
@property (nonatomic, strong) UIView *titleView;
@property (nonatomic, strong) UILabel *lblTitle;
@property (nonatomic, strong) UIColor *bgColor;
@property (nonatomic, strong) void (^BackAction)();
- (void) createRightBtn:(NSString *) title block:(void(^)())block;
- (void) createLeftBtn:(NSString *) title block:(void(^)())block;
- (void) createRightBtnWithImage:(UIImage *) image block:(void(^)())block;
- (void) createLeftBtnWithImage:(UIImage *) image block:(void(^)())block;
@end
